#!/bin/bash
echo
echo "############Building test/miaux_test###############"
echo

g++ -I/usr/include -I./include -I/usr/local/mi/mrdemo/include test/miaux_test.cpp -L./dist -llofi-miaux -o test/miaux_test

if [ $? == 0 ]
then
	echo
	echo "#################Running test######################"
	echo

	test/miaux_test

	echo
fi
